package com.lp.exapmle03;

import com.lp.UserService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author: lp
 * @create: 2021-06-04 18:55
 * @description: TODO
 */
public class TestBeforeInstantiation {
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("spring-instantion-test.xml");
		Car car = context.getBean(Car.class);
		System.out.println(car);
	}
}
